import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
// 引入树形表格插件
import ZkTable from 'vue-table-with-tree-grid'
Vue.use(ZkTable)

// 导入字体图标库
import "./assets/fonts/iconfont.css";


// 添加富文本编辑器相关配置
// 导入富文本编辑器
import VueQuillEditor from 'vue-quill-editor'
//引入富文本相关样式依赖
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
// 注册富文本编辑器
Vue.use(VueQuillEditor)


Vue.config.productionTip = false

import http from "./api/index";
Vue.prototype.$http = http;
// 引入echarts
import * as echarts from 'echarts';
// 注册原型对象
Vue.prototype.$echarts = echarts;
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
})
